import json,jsonpath, os

responseStr = {
    "list": [
        {
            "groupSeq": 167,
            "title": "标题",
            "mobileImg": "https://newdev.innisfree.cn/staticfiles/image/9a/1f/e1/fd106ee3bd4f26f4f6770b5ddf.jpg",
            "webImg": "https://newdev.innisfree.cn/staticfiles/image/9f/2f/3f/e3a054faf68cf543302fb074c6.jpg",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-07 22:03:05",
            "updateId": "test",
            "updatedAt": "2020-04-01 14:44:56",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10,
            "prdTotal": 16
        },
        {
            "groupSeq": 168,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:44:57",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:44:57",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10,
        },
        {
            "groupSeq": 169,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:44:58",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:44:58",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10,
        },
        {
            "groupSeq": 170,
            "title": "标题1",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-03 11:51:57",
            "updateId": "maxile",
            "updatedAt": "2020-04-01 14:44:59",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10,
            "prdTotal": 5
        },
        {
            "groupSeq": 171,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:44:59",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:44:59",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10,
        },
        {
            "groupSeq": 172,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:45:00",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:45:00",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10
        },
        {
            "groupSeq": 173,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:45:01",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:45:01",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10
        },
        {
            "groupSeq": 174,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-07 21:46:56",
            "updateId": "test",
            "updatedAt": "2020-04-01 14:45:01",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10
        },
        {
            "groupSeq": 175,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:45:02",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:45:02",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10,
        },
        {
            "groupSeq": 176,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:45:03",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:45:03",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10,
        },
        {
            "groupSeq": 162,
            "title": "标题update",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:43:49",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:37:11",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10,
        },
        {
            "groupSeq": 163,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:37:26",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:37:26",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10
        },
        {
            "groupSeq": 164,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:37:31",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:37:31",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10
        },
        {
            "groupSeq": 165,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:37:36",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:37:36",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10
        },
        {
            "groupSeq": 166,
            "title": "标题",
            "mobileImg": "http://fdsfsdfsdfsas",
            "webImg": "http://fdsfsdfsdfsas",
            "state": "1",
            "groupType": "4",
            "backgroundImage": "http://fdsfsdfsdfsas",
            "regId": "fanzhuoxi",
            "regDate": "2020-04-01 14:41:31",
            "updateId": "fanzhuoxi",
            "updatedAt": "2020-04-01 14:41:31",
            "subTitle": "副标题",
            "displayStartTime": "2020-03-01 12:23:45",
            "displayEndTime": "2020-04-01 12:23:45",
            "rank": 10
        }
    ],
    "total": 15,
    "totalPages": 1,
    "code": 1000,
    "msg": "success"
}
searchResult = jsonpath.jsonpath(responseStr,'$.list[-1:].groupSeq')
print(searchResult)

# searchResult = ''.join(str[1,2,"abobo"])
# print(searchResult)
# # for i in searchResult :
#     print("bobo" in str(i))
# print(str('') in str(None))